import https from "./http"
import { React, useState, useEffect } from 'react'

const Teacher = () => {
    const [evaluate, setEvaluate] = useState(null);
    useEffect(() => {
        https('Teacher_list/getAll', "get", res => {
            console.log(res)
            setEvaluate(res.data)
        });
    }, []);
    useEffect(() => { },
        [evaluate]);
    return (evaluate)
}

export default Teacher
